﻿namespace TestUp.Models.ShortEntities
{
    public class ShortGroup
    {
        public int GroupId { get; set; }
        public string GroupName { get; set; }

        public Group ConvertToEntity()
        {
            var group = EntitiesConverter.ToEntity<Group, ShortGroup>(this);

            return group;
        }
    }
}